import { axios } from "@/services/axios";

const ProjectDetail = {
  get: data => axios.get(`api/projectdetail/${data.id}`),
  getlist: params => axios.post(`api/projectdetail/list`, params),
  create: data => axios.post("api/projectdetail", data),
  getid: data => axios.get("api/projectdetail", data),
  save: data => axios.post(`api/projectdetail/${data.id}`, data),
  delete: data => axios.post(`api/projectdetail/delete/${data.id}`),
  batchcreate: data => axios.post("api/projectdetailbatchadd", data),
  getsellist: data => axios.post("api/projectdetail/sellist", data),
  getemployeelist: params => axios.post(`api/projectdetailemployee/list`, params),  
};

export default ProjectDetail;